#include "enesim_bench_common.h"
/*============================================================================*
 *                                 Global                                     *
 *============================================================================*/
void generic_bench(void)
{
	Enesim_Renderer *r;
	Enesim_Surface *dst = NULL;
	Shape_Data data;

	surfaces_create(NULL, 0, NULL, 0, &dst, opt_fmt);

	r = enesim_renderer_checker_new();
	enesim_renderer_checker_even_color_set(r, 0xff0000ff);
	enesim_renderer_checker_odd_color_set(r, 0xff8080ff);
	enesim_renderer_checker_width_set(r, 20);
	enesim_renderer_checker_height_set(r, 20);
	/* test the origin */
	enesim_renderer_origin_set(r, 0, 0);
	//enesim_renderer_origin_set(r, 0);

	renderer_run(r, dst, "Generic", "generic", &data);
}
